package com.gulishop.gateway;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//开启网关注册发现
/*
* 配置注册中心地址
* spring.cloud.nacos.discovery.server-addr
*
*
* */

@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class GulishopGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulishopGatewayApplication.class, args);
    }

}
